package com.ruoyi.students.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 获奖信息对象 tb_awards
 * 
 * @author yxy
 * @date 2024-10-17
 */
@Data
public class Awards extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long awardId;

    /** 学号 */
    private String studentId;

    /** 获奖名称 */
    @Excel(name = "获奖名称")
    private String awardName;

    /** 等级 */
    @Excel(name = "等级")
    private String awardLevel;

    /** 获奖日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "获奖日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date awardDate;

    /** 照片 */
    @Excel(name = "照片")
    private String awardPhotoPath;
}
